package com.four.basicinfo.service;

import com.four.basicinfo.entity.Career;

public interface CareerService {
    /**
     * 查询亲属从事相关职业
     *
     * @param id 亲属从事相关职业主键
     * @return 亲属从事相关职业
     */
    public Career selectCareerById(Long id);
    /**
     * 新增亲属从事相关职业
     *
     * @param career 亲属从事相关职业
     * @return 结果
     */
    public int insertCareer(Career career);

    /**
     * 修改亲属从事相关职业
     *
     * @param career 亲属从事相关职业
     * @return 结果
     */
    public int updateCareer(Career career);
    /**
     * 删除亲属从事相关职业信息
     *
     * @param id 亲属从事相关职业主键
     * @return 结果
     */
    public int deleteCareerById(Long id);
}
